package com.taobao.txc.common;

import com.taobao.middleware.logger.Level;
import com.taobao.middleware.logger.Logger;
import com.taobao.middleware.logger.LoggerFactory;

public class LoggerInit
{
  public static LoggerWrap logger = new LoggerWrap();
  public static Logger a = LoggerFactory.getLogger("txc_count");
  public static Logger b = LoggerFactory.getLogger("txc_unsupport_sql");
  public static Logger c = LoggerFactory.getLogger("txc_limitation");
  public static final String d = java.lang.management.ManagementFactory.getRuntimeMXBean().getName().split("@")[0];
  
  static
  {
    logger.a(true, d);
    a.setLevel(Level.INFO);
    a.activateAppender("txc", "txc_count.log", "utf-8");
    a.setAdditivity(false);
    b.setLevel(Level.INFO);
    b.activateAppender("txc", "txc_unsupport_sql.log", "utf-8");
    b.setAdditivity(false);
    c.setLevel(Level.INFO);
    c.activateAppender("txc", "txc_limitation.log", "utf-8");
    c.setAdditivity(false);
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.common.LoggerInit
 * JD-Core Version:    0.7.0.1
 */